<%-- 
   Document   : query
   Created on : 26.11.2012, 17:25:02
   Author     : Sebastian Horwege
--%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
${error}
<table id="result" border="1">
    <thead>
        <tr>
            <c:forEach items="${columnNames}" var="name">
                <td>${name}</td>
            </c:forEach>
        </tr>
    </thead>
    <tbody>
        <c:forEach items="${result}" var="row">
            <tr>
                <c:forEach items="${row}" var="value">
                    <td>${value}</td>
                </c:forEach>
            </tr>
        </c:forEach>
    </tbody>
</table>